-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] Split configuration for device and others in compile model #26977
base: master
Are you sure you want to change the base?
[core] Split configuration for device and others in compile model #26977
Conversation
in compile model
to forward it after config filter by device Signed-off-by: Pawel Raasz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that main problem in handling of core level properties is that coreConfig
is updated only via Core::set_property
, while Core-level properties can also be passed to compile_model
or other methods with properties.
Maybe we need to update parseDeviceNameIntoConfig
to return updated coreConfig
as well? Such updated Core config is created as:
auto updatedCoreConfig = coreConfig;
updatedCoreConfig.set_and_update(config); // set_and_update removes core-level properties from config; so, other properties can be safely passed to plugins
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
eaef130
to
46c05ba
Compare
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
class CoreConfig final { | ||
public: | ||
CoreConfig() = default; | ||
CoreConfig(const CoreConfig& other); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be operator=
either defined or deleted.
Details:
ov::Core
compile model filter provided configuration and send hardware devices configuration with supported properties only. There is no exception if plugin not supported property added.compile_model
compile_model
will improve keep supported properties by device up-to-date.Tickets: